package com.rabbit.db.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * <h1>C端用户表</h1>
 *
 * @author zjw
 * @date 2022/6/22 15:51
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_customer")
public class Customer {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long customerId;
    private String name;
    private String phone;
    private Date createTime;
    private Date updateTime;

}
